import request from '@/utils/request';

export function getUserId() {
    return request({
        url: `app/userId`,
        method: 'get',
    })
}
export function getHistory() {
    return request({
        url: `app/getUserVideoHistory/${localStorage.getItem("u_id")}`,
        method: 'get',
        params: {

        }
    })
}

export function getUserInfo() {
    return request({
        url: `film/user/info/${localStorage.getItem('u_id')}`,
        method: 'get'
    })
}